﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;
using Public;

namespace WebsiteAdmin.Salomon.AdInfo
{
    public partial class AdHeadCreate : System.Web.UI.Page
    {
        public int strCatID = 0;
        public string startDate = DateTime.Now.ToString("yyyy-MM-dd");
        public string endDate = DateTime.Now.ToString("yyyy-MM-dd");
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                    DataTable dtCat = Bll.Category.MULTIPLE(Global.ConSalomon, strCatID);

                    if (dtCat.Rows.Count > 0)
                    {
                        RP_Cat.DataSource = dtCat.DefaultView;
                        RP_Cat.DataBind();
                    }

                    dtCat.Dispose();

                }
        }
    }
}
